home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4770 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: coreleft() equivalent in gcc
  5. Date: Tue, 06 Feb 96 20:14:17 GMT
  6. Organization: none
  7. Message-ID: <823637657snz@genesis.demon.co.uk>
  8. References: <311687C5.1A1B8F09@charybdis.math.mcgill.ca>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <311687C5.1A1B8F09@charybdis.math.mcgill.ca>
  15.            luc@charybdis.math.mcgill.ca "Luc Lalonde" writes:
  16.  
  17. >Hello,
  18. >
  19. >Would anybody know what the gcc's equivalent to Turbo C's coreleft()?
  20. >This is function's sole pupose is to check available memory.
  21.  
  22. This is inevitably highy system specific. Foir instance when you are using
  23. a system with virtual memory what exactly do you mean by 'available memory'.
  24. On such systems you normally allocate enough memory to allow your program to
  25. work with good efficiency and let the OS worry about where it gets it
  26. from.
  27.  
  28. -- 
  29. -----------------------------------------
  30. Lawrence Kirby | fred@genesis.demon.co.uk
  31. Wilts, England | 70734.126@compuserve.com
  32. -----------------------------------------
  33.